package com.rock.securityresearch.infracture

import cats.effect.{IO, Sync}
import com.rock.securityresearch.util.http.Http

object TencentStockAPI {
    /**
     * http://www.joeychou.me/blog/35.html
     *
     * http://qt.gtimg.cn/q=sh600519
     */
    def load(code: String): Unit = {
//        val url = s"http://qt.gtimg.cn/q=$code"
//        val res = Http.make().get(url)
//        res.map{ res =>
//            res.verifyOk
//            val body = res.bodyAsString("GBK")
//            val parts = body.split("~").toList
//        }
    }
}
